package com.itheima;

import com.itheima.service.ActivitiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Controller {

    @Autowired
    ActivitiService activitiService;


    @RequestMapping(value = "test")
    public String getTests(){
        System.out.println(123);
        activitiService.atService();
        return "123";
    }

}
